package pers.xhh.frontapi.entity.to.user;

import javax.validation.constraints.NotBlank;

/**
 * @author wei-xhh
 * @date 2020-12-14
 */
public class UserPwd {
    @NotBlank(message = "新密码不能为空！")
    private String password;
    @NotBlank(message = "旧密码不能为空！")
    private String oldPwd;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOldPwd() {
        return oldPwd;
    }

    public void setOldPwd(String oldPwd) {
        this.oldPwd = oldPwd;
    }
}
